package com.gitee.sop.mongodb;

import java.util.List;

/**
 * @author: Admin
 * @date: 2021/3/3
 * @description:
 * @copyright: 重庆万蓝兴科技有限公司
 */
public class MongoLike {

    /**
     * 匹配词，例如：=,>,>=,<=,in,like,leftLike,rightLike
     */
    private String match;
    /**
     * 匹配的字段
     */
    private String key;
    /**
     * 匹配的值
     */
    private Object value;
    /**
     * 匹配值数组
     */
    private List valueList;
    /**
     * 匹配类型，特殊类型时使用，例如日期类型，date
     */
    private String type;


    public String getMatch() {
        return match;
    }

    public void setMatch(String match) {
        this.match = match;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }


    public List getValueList() {
        return valueList;
    }

    public void setValueList(List valueList) {
        this.valueList = valueList;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
